Added check to render hidden fields only if top, left, bottom or right is set to true

Even if top, set, bottom or left is set to false for spacing field, the CSS is rendered for them equaling to 0px. This is because of the hidden fields which are rendered even if one of the field is set to false in settings array. I have added a check to stop hidden fields from rendered if they are set to false.