Core/BG: use GetTypeID(true) instead of GetTypeID() 

This is required to fetch the correct type even if it's a RGB.