fixes wrong selection

Updates the selection of the last position now properly. Also the
headers dont remove the selection anymore.