fixed collision with cursor