Handle client-requested resize (bit of a hack)