The workaround isn't 100% safe. I don't know how it works with multiple monitors, and i don't know if i'm getting the size of the right "screen". I'm taking the first, but it might be the second, and the second might have a different resolution. Now for the virtual workplaces of Ubuntu, that doesn't seem to have a problem in the default configuration - all have the same resolution and panels size.
Anyway - the problem exists.
