Which RAD Studio version are you using? Because this issue has been fixed in RAD Studio 12.
https://quality.embarcadero.com/browse/RSP-19387