Fixing preference for case when ids are not supported (mac). Fixing maximized issue in mac - api is not supporting when using left, top, width and height.