mapfishapp: more robust print window placement