Fix #147
Merge pull request #148 from poczakos91/master

Fix animationFrameHandler bug (#147)