Redraw terrain after resize and debug mode