fixes image height setting