fix sprite priority in 16bpp mode