Slight performance tweak in the graphics code to avoid allocations when flipping tile lines