While placing an SKSpriteNode (bar) on top another SKNode(base), it comes out as it should. Half of it lies on top of the base, the the other within. The code for this is: