Add sanity checks to Overlay and anchor support