Question about building stuff

hi I am new to this version of the game my current problem is that for some reason the game doesnt build over the metal door frame I already have all the nesesary materials for build it as the entrade door of my underground base . is this a b ug on the interface or right now we cant build underground?