Use marker directly instead of extracting position