fix event position getting