set up hitTest methods to properly make button work