Window resizing now works and the playing field is always show fully regardless of window size.