AWT panels: fix flipped coords when mouse pressed or released