fix issue on rotation where component disappear following a 0, 0 resize.