Minor fix with calculations

Calculates the position in canvas via the parents position.