fixed error with top right corner not having collision

error was on line 422