fixing bugs introduced in JTSImageView 1.2