work with arrow keys. i had just work with my canvas in separated thread