SDL Mac: click on the titlebar relocates the window position

i’ve noticed that several SDL games suffer from this "bug"
when you click on a title bar of an SDL window in MacOS (either tiger or
leopard) the window is moved to another position of the screen; so it is
practically impossible to move the sdl window around

i got around it using Spaces but i’d like to know whether this is a known
bug and if there is any solution/workaround for it

thanks a lot