I modified original by using if blocks with sensing blocks instead of key event blocks. It may be not beautiful but fast.