Fix stuck console on tall screens

On tall screens (e.g. full-HD monitor in portrait mode, or 4K monitors) the console will not slide all the way up.
Merge pull request #891 from CyberShadow/patch-1

Fix stuck console on tall screens