stability improvements for visibility methods + fix for non-working raf function