fixed bug in position update; Thanks to Rojo for the bug report.
fixed bug in position update; Thanks to Rojo for the bug report.