Fix for android and black box with popup.