Remove unneded resize handler.