Fixed bug in position of playhead when resizing window.
Optional parameter for playhead color.