Fixed screen centering bug