Double Commander has an option that automatically saves your preferences like window size when you close the program. You can find it under Configuration > Options > Configuration tab. Make sure that Save Configuration option is selected then click Apply and OK. If you did this and you still encounter the strange behavior, try to update the program.