Change default resolution and fix resize problems