Fixed resize issues at the start of GUI