Fix for full-screen js editor