Fixed issue with camera positioning and resizing the window.