Fixed a bug

Fixed a bug where the icon's position was incorrectly calculated when
calling the "update" method