Fix bug with container using view x/y instead of container x/y