Added fix for iOS 5.0 where -bezierPathByReversingPath is unavailable.