Fixed another bug to do with texture atlas'