This iis not a script issue.
It is how the game is design. The house items are only loaded when you enter your house. Instead of using a box in your house, why not use a mail box, those are always available when the house items are not loaded..
It just a matter of where you lock down your secure. Anything on the step is visible.