How to deal with an off-centre window