Fixed wrong controls position when window started maximized.