core: fix exceptions when going/exiting fullscreen
Conflicts:
	src/components/core/core.js