Fixed background grid size problem when toggling full screen