Fix the hit rect detection