Fixed blank screen error and improved vec2 class