Added helper method to get component mouse is over

It returns the first instance of the typed component.