There are several issues you should be aware of:
1. Your electrodes looks too small make them longer ~7 Å
2. make the gate and dielectric such that there is a fair distance from their edges to the central cell boundaries, I would recommend ~10 Å, but less may also work.
3. use neumann boundary conditions in x,y, this will make it possible for the potential to float. However, it also means that the zero bias gate is not well defined, i.e. only relative gate potentials are well defined. To relate the gate potential to zero vacuum, you need to have a dirichlet boundary condition at some side, forinstance the side below the gate.