I've found the "DrawLine" function in the sdlutils.pas file and I've used this to manually draw the rectangle. It may be a good idea to add this function to the pas file for others to use.