Fix image upload when comment box is not empty

Fixes #61