Fixed hitTestInput of Shapes