Fixed hit testing.