Fixed duplicating bug

Fixed a bug which causes the shared door to duplicate by right-clicking
the top part which was caused by missing parameters.