3d widget no animation

I can confirm this problem still exists in 4.18. The fix that @spaceharry posted does work though.