Better position handling for nested comments