Fixes the strict error and sets up the fulllscreen function