Fixed a bug with the property .translate()