Test passes if cursor becomes
when inside the rectangle.