Add min width and height for security box