Update imagewindow.py

emit mousePress/ReleaseEvents with modifiers