Fixed overlay is undefined.