Implemented reuse of overlay instead of always creating new one