Automatically resize windows on focus