Fixed bug with negative offset.