FIX bugs

+ Screen resizing game crash fixed.
+ Config file bug.