Only Set Location of Popup on Mouse Press

The location of my width popup is now only set when the mouse button is
pressed, while before it was for any mouse event.