Fixed Safari recording bug