fix setDesignResolutionSize bug