added resetting animation frame for active game elements in MM engine