Fixes sprite sheet jitter issue