Centering of main character now happens also on Window Load.