Fixed resize listener.