fix Input event to get window pos not screen pos