fix for webkit page flickering when opening the picker