centerOnCursor adjusts to handle the menu bar area on top, and the status
bar adjustment is no longer hardcoded as a constant.