Fixed rendering bug for Android 4