Fixed a bug in the posting panel when choosing the image post.