Fixes in the Layout. Reading object located not in contents.
Fixes in menu. Detect active item
Fixes in the function of resizing image if width or height are equal 0
Viewing icons in items of menu