odd image resolution bugfix.