Fixed usage of screen size constants.