Fixed a bug with creating screendecorators.