fixes some control offset bugs and refactors interactive marker helpers