Fix crash on Lollipop devices.