OSX: Fixed bugs in TileHelper and WaveFormEngineService, updated test cases.

- Wave form rendering is already a lot better than it was, even if
there's still missing spots sometimes.
- Fixed regression bug with dragging scrollbar and changing position for
wave form controls.
- Fixed bug in scroll bar wrapper for Cocoa where the scroll offset
wouldn't change when the thumb was moved.