fixed getComponentsAtPosition bug