trying to fix text input bug (stays on screen)