bug fix: removing/adding cursor #1 would cause selected picture to jump to new cursor position due to incorrectly calculating x&y offsets