Updated a draw feature, replaced two buttons with first and lastposition