This allows for click detection