fixing bug in utils so you can relate left/right etc to parents width/height