fixed sprite bitplanes being swapped, added sprite X flipping