Joining objects causes texture to flip