Fixed Error in new Overlay API