Fixed getBytes() exception

Only objects that are in objectList are added to the Quadtree. Prevents
later errors where the quadtree objects would not be found in
objectList. After all such objects should not even be around, but well
...
Merge pull request #1235 from CharonInferar/ErrorDiagnostic

Fixed getBytes() exception