fix access outside of sine table (specifically happens with b2k_theme.st)