Modified timeout for overlay