Make game canvas dynamically resize