input check for main.js too, to avoid fullscreen with wrong