Created new collision handling in sprite moving