Minor compatibility fixes with Safari 533.1 Engine