DAR-1263: Change a way for calculation right popovers.