Catch resize signal.