Added a resize clear hack for Android.