Resize via panel not refreshing