Removed unneeded variable in realign

The variable desktop was a duplicate of screen. Even worse the information in desktop was outdated when changing the screen resolution. As a result the a wrong space was reserved for the panel. This problem seems to be fixed now.