Image sizing fixes