fixed aliasing bug by calling requestAnimFrame on every draw event