Fixed bug with depth positioning problem on signs; added test for invalid depth positions to avoid problems in the future