replaced getters and setters for X and Y for Items with a getter for pos