Component for reading screen coordinates from events