Changes for mouse event handlers implemented on the header bar