Fixes source window