Fixed a bug with the selection of the cell causing an error after compile