Fixed fullscreen bug and compiler bug