Workaround to keep the size desired by the user and ignore the
'resize' introduced by andami