Fixed bug in shadowbox.