fixed layer sorting issue

Issue caused problems on android as to how sprites were drawn