Variable height/width enabled. Needs cleanup.