Updated CtkContent and CtkElement to return null for getFirst() and getLast() to align with CtkNode