Fixes issue with  scope when _moveHead is called by rAF.