[DF-1235] Refactor OpenGLView events on MacOS