If it displays the same in both gedit and mousepad then it isn't a bug in mousepad but instead I'd guess gtk.
If it displays the same in both gedit and mousepad then it isn't a bug in mousepad but instead I'd guess gtk.