Fixing problem with image placement with string x variables. Closes #252