Futile attempt to fix dismiss black screen problem