Fixes problem with img bbcode