Resize works, but buggy

The ui stuff works when resized, but the camera and renders dont