Remove width and height styles from overlay