rlvmain - issue #416

I've tested this in current Firestorm and current Restrained Love Viewer (results in script comments)