osd:fixed osd size problem in switching

tower:https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/7c3f6529db4a41038d73c29567077e50/

Change-Id: If0d5b3ce1df71ca1b9907a1080aaf2ff2d5f114c