fixed issue #1920, animation frame duration is dynamic now