HPath: implement hitbox checking for bezier curves #1