Fix glitchy rendering
Merge pull request #65 from ninjadev/unglitch-rendering

Fix glitchy rendering of effects