Fixed problem with incorrect modal window position in a case of non-zero margins for html or body tags