[#63002466] modify motion event handling to prevent unexpected animation

reviewer: @superdry

https://www.pivotaltracker.com/story/show/63002466