Make world width and height independent.