fix Firefox ignoring target margins