Fixed positioning in RenderedPiece::moveTo(), moved some positioning code