Fixes voice.getBoundingBox when ghostnotes are used

Since a ghost note does not have a bounding box, if a voice starts with a ghost note then calling voice.getBoundingBox returns null.  This PR fixes the issue by checking each note until a valid bounding box is found.