Fixed issue with non (0, 0) container rect