Test for wall collision with sprite