Fixed null pointer exception

Summary: NullPointerException can occure when onSizeChanged
when null drawable was set

Change-Id: I4de135d5f35449cd86786b58ec7fd96b871a0950