Contains fixes for calculations of initial playback position

Fixes #285, partially fixes #289