Dialog box fix for hdpi devices