OS X specific cleanup after canvas ruler introduction