fix the damn stupid mouse coordinates issue (visibility instead of display, DO REMEMBER)