Thanks for the warm welcome!
I now copied the files from /usr/local/lib/firefox/browser/defaults/preferences/ to /etc/firefox/ and the problem still persist only this time there is some problem with the fonts (picture attached)
One other problem I have with unveil is with making transmission-gtk open magnet links. Adding /usr/local/bin/transmission-gtk rx to unveil.main works, but it opens a new instance of transmission every time even if transmission is already running.
Again, noob at openbsd, so please bare with me
EDIT: apparently transmission-gtk also have the same font issues now.
I recently did sysupgrade -s then pkg_add -u after booting. Something must have gone wrong....
EDIT 2: did a reboot and the fonts are back to normal