Fix scrolling in construction menu

The construction menu rolls its own UI, so it doesn't follow the "center menu scrolling" option set by the player. This pull request fixes that by changing the way the offset variable is calculated, essentially copying the formula from ui.cpp.

Ideally, the construction menu would create a menu using ui.cpp, but for now, this will hopefully make the construction menu nicer to use.