corrected gl viewport for proper marker overlay