Corrected GUI transformation of click events